package com.nervenets.web.controller.user;

import com.nervenets.web.controller.TokenParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.Positive;

@EqualsAndHashCode(callSuper = true)
@Data
public class WithdrawParams extends TokenParams {
    @ApiModelProperty(value = "提现金额", required = true)
    @Positive(message = "请输入正确的提现金额")
    @Min(value = 1000, message = "提现金额最低为10元")
    private long money;
}
